package com.bjc.tt_shop.dao;

import com.bjc.tt_shop.dto.Order;
import com.bjc.tt_shop.dto.Page;
import com.bjc.tt_shop.dto.Result;
import com.bjc.tt_shop.pojo.po.TbItem;
import com.bjc.tt_shop.pojo.po.TbItemExample;
import com.bjc.tt_shop.vo.TbItemCustom;
import com.bjc.tt_shop.vo.TbItemQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TbItemCustomMapper {

        //@Param("page") Page page, @Param("order")Order order,@Param("tbItemQuery")TbItemQuery tbItemQuery
    List<TbItemCustom> listItemsByPage(Map<String,Object> map);

    Long countItemsByCondition(Map<String,Object> map);
}